package com.kws.payment.dao;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * <b>UnionPayRefund</b>
 *
 * @description: UnionPayRefund <br>
 * @date: 2024/12/26 10:56 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class UnionPayRefund {
    @ApiModelProperty(value = "报文请求时间")
    private String requestTimestamp;

    @ApiModelProperty(value = "商户订单号")
    private String merOrderId;

    @ApiModelProperty(value = "业务类型 APPDEFAULT")
    private String instMid;

    @ApiModelProperty(value = "商户号")
    private String mid;

    @ApiModelProperty(value = "终端号")
    private String tid;

    @ApiModelProperty(value = "要退货的金额 单位：分")
    private Integer refundAmount;

    @ApiModelProperty(value = "消息ID 原样返回")
    private String msgId;

    @ApiModelProperty(value = "请求系统预留字段")
    private String srcReserve;

    @ApiModelProperty(value = "支付订单号")
    private String targetOrderId;

    @ApiModelProperty(value = "退款订单号 多次退款必传")
    private String refundOrderId;

    @ApiModelProperty(value = "平台商户退款分账金额 单位：分")
    private Integer platformAmount;

    @ApiModelProperty(value = "子订单信息 若原交易有分账，退款时必填")
    private List<SubOrdersRq> subOrders;

    @ApiModelProperty(value = "退款说明(退款时使用)")
    private String refundDesc;

    public String getRequestTimestamp() {
        return requestTimestamp;
    }

    public void setRequestTimestamp(String requestTimestamp) {
        this.requestTimestamp = requestTimestamp;
    }

    public String getMerOrderId() {
        return merOrderId;
    }

    public void setMerOrderId(String merOrderId) {
        this.merOrderId = merOrderId;
    }

    public String getInstMid() {
        return instMid;
    }

    public void setInstMid(String instMid) {
        this.instMid = instMid;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public Integer getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Integer refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getSrcReserve() {
        return srcReserve;
    }

    public void setSrcReserve(String srcReserve) {
        this.srcReserve = srcReserve;
    }

    public String getTargetOrderId() {
        return targetOrderId;
    }

    public void setTargetOrderId(String targetOrderId) {
        this.targetOrderId = targetOrderId;
    }

    public String getRefundOrderId() {
        return refundOrderId;
    }

    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    public Integer getPlatformAmount() {
        return platformAmount;
    }

    public void setPlatformAmount(Integer platformAmount) {
        this.platformAmount = platformAmount;
    }

    public List<SubOrdersRq> getSubOrders() {
        return subOrders;
    }

    public void setSubOrders(List<SubOrdersRq> subOrders) {
        this.subOrders = subOrders;
    }

    public String getRefundDesc() {
        return refundDesc;
    }

    public void setRefundDesc(String refundDesc) {
        this.refundDesc = refundDesc;
    }
}
